import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// 引入axios和vue-axios
import axios from "axios";
import VueAxios from "vue-axios";
axios.defaults.baseURL = "http://localhost:3000/";
Vue.use(VueAxios, axios);
// 集成swiper
import VueAwesomeSwiper from "vue-awesome-swiper";
import "swiper/css/swiper.css";
Vue.use(VueAwesomeSwiper);
// 引入element-ui
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);
// 引入ant-design
// import antd from 'ant-design-vue'
// import 'ant-design-vue/dist/antd.css'

// Vue.config.productionTip = false

// Vue.use(antd);

import moment from "moment"
Vue.prototype.$moment = moment;

Vue.config.productionTip = false;


new Vue({
  router,
  store,
  render: h => h(App),
}).$mount("#app");
